053 tank animation fillingdraining
知道第二个例子,这个坦克动画动画我们有惊人的年龄,它将代表坦克和真实的环境,所以我们可以注意到,如果我打开墙壁,假设20%,你可以看到水在流动水箱和水是流动的,水箱和真实环境是对的。
Know the second example this tank animation animation we have the stonking the age of my Which is going to represent the tank and the real environment so we can notice if I turn on the walls let's say by 20 percent you can see the water is flowing in the tank and the water is flowing and tank and the real environment is right.
这里我们有一些关卡,如图所示,这个 LIVE 即将到来。
And here we have some level which is depicted by here and this LIVE is coming here.
好吧,这很坚固,这是一堵栅栏墙。
All right this is hardy this is a fence wall.
这就是住的地方。
That's the live in.
所以这里的级别用 0 到 10 来描述。
So here the level is depicted by zero to 10.
但这里是个人。
But here it's in person.
因此,我们在适当的时候和年龄缩放了这个值。
So we have scaled this value in due course and age.
好的。
All right.
那么让我们看看如何设计它。
So let's see how we can design that.
那么让我们重置一下环境。
So let's reset the environment.
水箱是空的 这里水箱是空的,它由最低液位显示,如果您愿意,我们也可以将其删除。
The tank is empty here the tank is empty and it's shown by this minimum level which we can also removed if you want.
因此,让我们在屏幕边缘查看屏幕上的坦克,您会注意到各种动画元素。
So let's see the tank on my screen on the edge of my screen and you will notice various animation elements.
所以第一个就是展位的填充。
So the first one is the filling of the stand.
这是最简单的一个。
This is the easiest one.
这是我从这里获取的一个预定义元素,它是一个栏。
This is a predefined element which I took from here which is a bar.
如果我给你看一个酒吧,这和坦克是一样的。
If I show you a bar here this is this is the same as the tank.
正确的。
Right.
我刚刚使用其文本和颜色设置自定义了该栏,如下所示。
I have just customize this bar using its text and color settings which looks like this one.
好的。
OK.
因此,在栏的上方和下方,您有一些元素和一些管道,您可以在统一和建模器中轻松找到它们。
So above and below the bar you have some elements and some pipes which you can easily find in your in your unified and modeler.
在这里你可以找到一些管道,对于水箱,你可以找到我用来描绘我的时代的这些元素。
And here you can find some pipes and for the tanks you can find these elements which I have used to depict my time.
好的。
All right.
那么让我们了解一下这个关卡是如何动画化的。
So let's understand how this level is animated.
现在在这个栏中您只需提供标签即可。
Now in this bar you just have to give the tag.
所以这里我使用的是 Thag 18 18 吧。
So here I'm using Thag 18 18 right.
所以让我们看看 Dagh 18 是什么,对我的狗来说,所以狗 8 在你目前的坦克液位中被划伤了。
So let's see what's that Dagh 18 and to my dogs so dog eight in your present tank level scathed.
好吧,让我们看看这个斯坦克,我很害怕你知道他在哪里。
All right so let's see this Stancl I was scared you know where is he.
这是我的坦克逻辑。
So here is my tank logic.
因此,如果您知道这是坦克级别,那么技能就在这里。
So if you know it is tank level the skill is here.
因此,让我们再次回到工厂并订购用于发给驾驶员的标签,在这里您注意到这是坦克。
So again let's go back to factory and orders the tag which has been used to go to drivers and here you noticed this is tank.
好的。
OK.
让我最大化它。
Let me maximize it.
储罐一个液位计,ID 34。
Tank one level meter which is ID 34.
因此,我们的 PNC ID 34 我们将获得储罐液位计的值。
So you our PNC ID 34 we're getting the value of tank level tank level meter.
所以这里使用它。
So it is used here.
因此,我们获取了涉及的值,并且可以将值加载到区域中。
So we're getting the value involved and we can load the value in area.
因此,最终我们根据环境中水箱填充的百分比得到 0 到 10 的值。
So in end we are getting the value zero to 10 based on the percentage of tank filled which is in the environment.
所以空是零。
So the empty is zero.
最大值是 0 到 10,我得到的是空的 25。
The maximum isten So zero to 10 I'm getting an empty twenty five.
这会导致父亲乘以 10,因为我想将其缩放到 0 200 人,并将其存储在 MDI 26 中。
And this raises sort of father multiplied by 10 because I want to scale it to zero 200 person and that is stored in MDI 26.
所以 B-26 的值从 0% 到 100%。
So B-26 is getting the value from 0 to 100 percent.
让我们再次决定,我要打开它,您会注意到此处的值与此处描述的值相同。
Let's decide again I'm going to turn the one on and you will notice the value here on the same value is depicted here.
所以这里是环中的值 0 到 10。
So here are the values in the ring zero to 10.
但这里是 0% 到 100%。
But here it's zero to 100 percent.
所以你可以注意到这里有相同的值,这个值实际上是由于呈现了更臭的值。
So you can notice the same values come coming here and this value was actually due to presenting the value of the stinkier.
好的。
All right.
这是第四个动画元素,用于对水箱中的液体流动进行动画处理。
So this is the fourth animation element to animate the flow of liquid in the tank.
现在第二个元素是注意,如果我部分打开它,比如说 50%,那么所有这些都关闭时,沃尔维斯岛的颜色会很漂亮。
Now the second element is notice there was the Walvis in great color of all of this off if I partially turn it on let's say 50 percent.
这是一个橙子。
This is an orange.
如果我打开它,我们会看到 100%。
If I turn it on let's see 100 percent.
这是右边的蓝色。
This is in blue color right.
在这里您还会注意到这是最高水平。
And here also you will notice this is at maximum level.
好的。
OK.
那么会发生什么。
So what happens.
这基本上是一个图形元素,由红、橙、蓝三个图形元素组成。
This is basically a graphic element which is a three graphic element red orange and blue.
在这种情况下也是如此。
Similarly in this case.
好的。
All right.
如何制作这个。
How to any made this one.
所以我们所做的你会注意到这是一个图形元素。
So what we have done you notice this is a graphic element.
如果你去图形元素声音。
If you go to graphic elements voice.
所以我们使用了三个图形。
So we have used three graphics.
一种是红橙色,如果值为零则显示蓝色和红色。
One is red orange and blue and red will be shown if the value is zero.
橙色将显示 1 到 7 和 4 之间的值(蓝色)。
Orange will be showing up the values between 1 to seven and four blue.
我们用了八到十个。
We have use eight to 10.
因此,您可以在图形讲座中了解如何创建图形。
So you understand this creation of graphics in a graphic lecture right how to create it.
所以我们在我的屏幕上疯狂地使用了这个图形元素。
So we have used this graphic element in a rage in my screen.
让我们看看它是如何解决这个问题的,Finn 是装满水箱的,所以让我们知道这是否涉及我的标签中的 H。
And let's see it's addressing this is addressed with Finn was the tanks filled ones so let's know does this involve an H in my tags.
所以填充阀在这里,但我实际上在库存上填充了拱顶。
So fill valve is here but I actually fill vault in over a stock.
那么,让我们去 PNC Douglas 吧,这个 Fin 就是飞毛腿 30K 选手托迪 (Todi)。
So let's go to PNC Douglas and this Fin's all the scudi 30 K guity Todi.
因此,如果您再次注意到驱动程序中的 QAD 30 实际上是 Dank One 填充的 1。
So if you notice here in the driver again QAD thirty is actually Dank One filled one.
所以我们在忙碌中没有使用任何逻辑。
So we are not using any logic in that busy.
Q 30 我们直接将值从 HDMI 移至 PC 电阻。
Q The 30 we are directly moving the value from HDMI to a PC resistor.
因此,在这里使用也没有什么好处,因为我们必须输入您想要从 my.txt 中打开的参与量的值。
So there is no good either to use here because we have to just enter the value of how much involved you want to open from the to my.
这不涉及缩放。
That is no scaling involved.
我在这里没有使用任何缩放,只是使用 0 到 10 之间的值,如果您想使用 0 到 100% 的缩放,那么您必须制定一个逻辑。
I'm not using any scaling here and just using the value from 0 to 10 if you want to use the scaling zero to 100 percent then you have to make a logic.
因此,我们将此 HDMI 的值设置为电阻器的值。
So we are putting the value from this HDMI to what the resistor.
因此,如果我在这里放置一堵墙,如果我放置五堵墙,那么它就会 100% 打开。
So if I put here the wall that be 100 percent open if I put five.
其电源应打开至零以上 50%。
Its power should be open 50 percent above zero.
它将是正确的。
It will be off right.
因此,该值用于花瓶动画的造型动画,因为这与我的墙壁直接相关。
So this value is used for animation of the styling his animation of the vase because this is directly related to my walls.
因此,如果空缺有 20% 开放,这 20 个人就会提出上诉。
So if the void is 20 percent open this 20 person is going to appeal.
和你用来制作声音动画的音量相同。
And the same volume you are using to animate the voice.
所以这是相同的电阻。
So this is same resistance.
如果我再给你看一下这个水箱,这个可爱的小家伙是用来装水的,这是一个引人注目的花瓶。
If I show you the tank again this cuti toady's for filling this is a vase for noticer.
这是同样的策略。
This is the same tack.
花瓶的排水也类似。
Similarly for draining the vase.
这是可爱的34。
This is cutey 34.
这是 34 块绿墙。
So this is shooty 34 green walls.
同样,这是绿色的。
And similarly this is green ones.
在美丽中,你可以飞 cuti 34 然后是绿色的。
In beauty you can fly cuti 34 is then green ones.
好的。
OK.
这才是真正的价值。
And this is getting the real value.
好的。
All right.
这样我们就看到了一部动画的动画。
So we have seen the animation of animation of one.
现在您还会注意到管道的动画,如果没有液体流动,则管道是空的,在我们显示的管道中看到。
Now you would also notice the animation of pipes that see the in the pipes we have shown if there is no flowing of liquid the pipe is empty.
如果我把它设置为 20%,那么这就是部分适合、部分适合。
If I make it 20 percent this is partially on partially fit.
如果我做到了100%那就完全适合了。
If I make 100 percent that is fully fit.
排水的情况也是如此。
Similarly in case of draining was.
好的。
All right.
那么让我们看看我们是如何做到的。
So let's see how we have done that.
这与我们对墙壁所做的方式类似,对管道的方式也类似。
This is similarly the way we have done for the wall in the similar way we will do for the pipe.
如果您注意到当管道为空时管道不流动,则其范围在 1 到 7 之间的 0 之间。
If you notice here pipes not flowing when the pipe is empty this is in the range from zero in the range from 1 to 7.
我们已经展示了 8 到 10 范围内的部分流动。
We have shown partially flowing in the range 8 to 10.
我们已经展示了完全填充,这取决于您想要拍摄多少帧。
We have shown fully filling it depends upon you how many how many frames you want to take.
您还可以采用从 0 到 10 的范围,但为零时该范围为空白。
You can also take this range from zero to 10 but at zero this is blank.
我认为这将是一个你可以显示非常小的水位流向你可以增加水平三你可以使它30%。
I think it's going to one you can show a very small level of water flowing to you can increase the level three you can make it 30 percent.
因此,这取决于您想要在雾化中包含多少数量和发射量,我只使用三个框架,这对我来说就足够了。
So it's up to you how much and emission you want to include in your atomize I'm using just three frames which is sufficient for me.
现在让我们看看这个标签,我们再次使用相同的标签填充空白。
Now let's see the tag of this from for the flowing again we are using the same tag fill void.
同样,我们在这里使用足球,在这里使用声音。
Similarly we are using football here and for voice here.
所以说我用来显示长管道的动画并在这里打开墙壁。
So saying that I'm using for showing animation of long pipes and turning on the walls here as well.
这是格林沃尔德,这是我的梦想。
This is Greenwald That's my dream.
好吧,这又是我现在的屏幕上我们如何获得这个体积的储罐液位秤的情况。
Well this is again my screen was on right now how we're getting this volume of tank tank level scale.
根据我的逻辑,我们已经看到恶臭等级为 B-26。
We have seen in my logic the stank level scale is B-26.
这是这个,B-26 在这里。
This is in this and B-26 here.
如果你注意到这只狗,这是在吃狗,吃狗,它的 Tankleff 被划伤了,B、C 和 B-26。
And if you notice that dog of this one this is dog eating and dog eating it's Tankleff was scathed rich and B and C and B-26.
这是有道理的。
This makes sense.
我们已经了解了如何做,他将这部分套染到了我的屏幕上。
So we have seen how to and he made this part of overdye to my screen.
唯一剩下的就是液体的流动。
The only thing left is the flowing of liquid.
因此,如果我向您展示一个,您可以看到液体正在微笑。
So if I show you one you can see the liquid is smiling all right.
因为这也是我们想要展示液体在真实环境中流动的情况。
Because this also we want to show as the liquid is flowing in the real environment.
如果我成功了,这就不是油炸的了。
If I make it off this is not frying.
现在我电脑上的这些关闭按钮实际上正在移动该值。
Now these off button in my PC is actually moving the value.
如果你看到这一点,我的 cootie 中的这些东西实际上是 35 美元。
If you see this off the this stuff was actually more zero in my cootie $35.
因此,如果你移动零,这个菲尔·沃尔(Phil Voll)就会自动关闭。
So if you move zero and this Phil Voll this will be off automatically.
所以所有的动画都会将动画重置为零,因为这里没有任何东西流动,因为这是红色的。
So all the animation will reset the animation back for zero was nothing was flowing here for this was red.
对于墙来说,它是关闭的。
And for the wall it was off.
我们正在利用这个模型做三件事。
So are doing three things with this model.
这是绿化墙的第一站,这里也正在移动我梦想中的零值。
This is first stop greening wall which is here which is also moving the value zero in my dream was.
因此,如果 Mandery 涉及 20%,您可以在这里看到这些动画元素。
So if Mandery involves 20 percent you can see these animation elements here.
她的脸翻了。
Her face off.
这将为零。
This will be zero.
这将为零,一切都将被重置。
This will be zero and everything will be reset.
现在。
Right now.
这次飞又怎样呢?
What about this flying.
让我们看看它在这里吐。
Let's see it spit here.
所以这又只是一个矩形而已。
So this is again nothing but just a rectangle right.
这是一个简单的矩形元素。
This is a simple rectangular element.
我已经像这样使用和塑造了它,并且它已经被赋予了一些属性,所以让我们注意这个属性中的这个,你可以显示这个动画。
I have used and shape it like this and this has been given some properties so let's notice this one in this properties you can show this animation.
我有外观和外观,数值为0。
I have the appearance and the appearance and the value is 0.
该元素的颜色由一些灰色阴影显示,您可以在其中放松一下,我也可以使用该阴影,因为我的背景颜色与该颜色相同。
The color of this element is shown by some gray shade where you can chill might as well I use the shade because my background color was same as this color.
所以,如果你看到绿色的背景颜色,那就是这个棕褐色的背景颜色有点灰色。
So if you see this green background color this is this one on this tan colored a little bit gray.
好的。
OK.
现在,当这个元素是一个时,它会显示为蓝色,这是我舌头的颜色。
Now when this element is one this is shown with the blue color which is the color of my tongue.
好的。
OK.
要匹配流动液体的颜色和时间,您只需获取该颜色的属性即可,只需复制该颜色即可将动画放在这里。
To match the color of flowing liquid and the time it is you can just take the properties of this color you can just copy this one and you can put the animation here.
所以这个变量的值范围是从 1 到 100 我在这个上显示了蓝色。
So the value of this the range the variable is from 1 to 100 I have shown this color blue on this one.
200 零没什么,但让我们看看库存实际上是第 200 行上的 Thelwall 值。
Two hundred and zero is nothing but let's see the stock is actually the fill was sort of the Thelwall values sort of on line 200.
这以蓝色显示,值从零开始,因此以白色或灰色显示。
This was shown in blue color the values from just zero so be shown in white color or the gray color.
好的。
All right.
这就是您如何为您的屏幕制作动画并将其拍摄到我的屏幕上。
So this is how you can animate your screen and shoot it on my screen.
你要证明这是 20 人参加的,这是 50 人参加的,在这种情况下,它是 100% 需要的,因为筛选少于填充,所以它会失败。
You're going to show this is 20 person on and this is 50 person on in this case it is 100 percent on need for it would flop because screening is less than filling.
好的。
All right.
因此,如果您对此视频有任何疑问,请回复我。
So if you have any doubt in this video just get back to me.
当然,您可以看到上传到该网站的整个动画元素的逻辑。
And of course you can see this logic the whole animation element in addressing which is uploaded into that site.
好的。
All right.
感谢您的加入,让我们看看接下来会发生什么。
Thank you for joining Let's see what we have in the next.